Skip to content

Deploy GitHub pages from GitHub actions with Sphinx#489

Open
fdxmw wants to merge 9 commits into
UCSBarchlab:developmentfrom
fdxmw:pages
Open

Deploy GitHub pages from GitHub actions with Sphinx#489
fdxmw wants to merge 9 commits into
UCSBarchlab:developmentfrom
fdxmw:pages

Conversation

@fdxmw

@fdxmw fdxmw commented Jun 24, 2026

Copy link
Copy Markdown
Member

This PR significantly changes PyRTL's GitHub Pages workflow. This will also change the appearance of http://ucsbarchlab.github.io/PyRTL, a preview is available at https://fdxmw.github.io/PyRTL/

This replaces the old gh-pages branch workflow, and generates the HTML with Sphinx so we don't have to manually edit HTML. GitHub Pages' index.html is now generated from www/index.rst, which is much easier to edit. Sphinx automatically runs from GitHub actions when changes are pushed to www/.

Also:

  • Added simulation scripts to all GitHub pages code samples.

  • Moved the larger code samples to external .py files so ruff can auto-format them and check them for lint.

  • Added many type hints.

  • Added many PyRTL documentation and example links.

  • Fixed many typos.

  • Upgraded some GitHub actions workflows.

  • Remove Sphinx version information and copyright from documentation footers.

… actions

with Sphinx.

This replaces the old `gh-pages` branch workflow, and generates the HTML with
Sphinx so we don't have to manually edit HTML. GitHub Pages' `index.html` is
now generated from `www/index.rst`, which is much easier to edit. Sphinx
automatically runs from GitHub actions when changes are pushed to `www/`.

Also:

* Added simulation scripts to all GitHub pages code samples.

* Moved the larger code samples to external `.py` files so `ruff` can
  auto-format them and check them for lint.

* Added many type hints.

* Added many PyRTL documentation and example links.

* Fixed many typos.

* Upgraded some GitHub actions workflows.

* Remove Sphinx version information and copyright from documentation footers.
@codecov

codecov Bot commented Jun 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.1%. Comparing base (987b09c) to head (8b0ae41).

Additional details and impacted files
@@             Coverage Diff             @@
##           development    #489   +/-   ##
===========================================
  Coverage         92.1%   92.1%           
===========================================
  Files               30      30           
  Lines             7438    7438           
===========================================
  Hits              6849    6849           
  Misses             589     589           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

* Test `www` examples.
* Update READMEs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant